<template>
  <div>
    <div class="m-header">
      <div class="container">
        <head-login></head-login>
      </div>
    </div>
  <div class="container" v-cloak>
    <div class="headers ">
    <router-link to="/">
      <div class="logos clearfix">
        <span><img src="../../../static/images/logo.png"/></span>
        <h6>一站式服务平台</h6>
      </div>
    </router-link>

        <div class="searchsheet">
            <input
              type="text"
              class="form-control"
              placeholder="请输入关键字"
              v-model="name"
            />
            <button type="submit" class="btn" @click="search">
              <i class="seadr"><img src="../../../static/images/Search.png" alt=""></i>
            </button>
          </div>
    </div>
  </div>
  </div>
</template>

<script>
  import headLogin from './headlogin'
  export default{
    name: "headCompany",
    components:{headLogin},
    data(){
      return{
       name:"",

      }
    },
    methods:{

     // 搜索邻域： 不限
      search() {

        if(this.name.trim()=="" || this.name==null){
          this.alert("请输入关键字")
        }else{

        // this.get({
        //         url:'/MapQueryApi/MapApi',
        //         data:{name:1,type:2},
        //         msg:{show:true},
        //     }).then(res=>{
        //         console.log(res)
        // });
       }
      },
    },
    watch: {

    }
  }
</script>
<style scoped>
  .m-header {
    padding: 5px 0;
    background: #090723;
  }
  </style>
